#ifdef __cplusplus
extern "C" {
#endif
int toPNG(unsigned char * array, int w, int h); 
#ifdef __cplusplus
}
#endif
